package org.dromara.mall.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;

/**
 * 分类品牌对象 mall_cate_brand
 *
 * @author Lion Li
 * @date 2024-05-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mall_cate_brand")
public class MallCateBrand extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 分类id
     */
    private Long cateId;


    /**
     * 品牌id
     */
    private Long brandId;
    /*其他*/
    @TableField(exist = false)
    private String brandName;

    @TableField(exist = false)
    private String categoryName;


}
